<%@ Control language="c#" Inherits="cnVery.Cms.Ctrl.Categories" %>
<%@ Import namespace="cnVery.Data" %>
<%@ Import namespace="cnVery.Utils" %>

<asp:DataList  BorderWidth="0" ID="cat1" runat="server"  ItemStyle-VerticalAlign="top"
							RepeatDirection="Horizontal" RepeatColumns="4" ItemStyle-Width="170" >
                <ItemTemplate> <strong> <a href='<%=Link%>?cid=<%#DataBinder.Eval(Container.DataItem,"id")%>'><%#DataBinder.Eval(Container.DataItem,"name")%></a></strong><br />
                  <asp:Repeater id="cat2" runat='server' EnableViewState="true">
                    <itemtemplate> <a href='<%=Link%>?cid=<%#DataBinder.Eval(Container.DataItem,"id")%>'><%#DataBinder.Eval(Container.DataItem,"name")%></a> | </ItemTemplate>
                  </asp:Repeater>
                </itemtemplate>
</asp:DataList>